# -*- coding: utf-8 -*-

mail_regex = r'^([a-zA-Z0-9_-]|\.)+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$'
phone_regex = r'^0\d{2,3}\d{7,8}$|^1[3578]\d{9}$|^147\d{8}$'
passwd_regex = r'^\\S{6,20}$'